package com.lihepeng.leecode.work;

public class WangwuStrategy implements NameStrategy{
    @Override
    public String getName(String origin) {
        return null;
    }

    @Override
    public String getNameV2(NameVo nameVo) {
        StringBuffer stringBuffer = new StringBuffer();
        stringBuffer.append(nameVo.getName()).append(nameVo.getAge()).append("WithNewFunc");
        return stringBuffer.toString();
    }
}
